<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>文章管理主页</title>
	<css file='__PUBLIC__/css/arc.css'/>
    <jsconst/>
	<jquery/>
	<js file='__PUBLIC__/js/arc.js'>
</head>
<body>
	<h2 class='arc_tit'>
        <a href="{|U('addshow')}">添加文章</a>
    </h2>
    <table class="table2 arc_list">
        <thead>
            <tr>
                <th width="5%"><input type="checkbox"/></th>
                <th width="5%">ID</th>
                <th width="50%">文章标题</th>
                <th width='13%'>所属栏目</th>
                <th width='8%'>点击数</th>
                <th  width="15%">操作</th>
            </tr>
        </thead>
        <tbody>
        <list from="$data" name="n">
            <tr>
                <td width="20"><input type="checkbox" aid='{$n.aid}'/></td>
                <td>{$n.aid}</td>
                <td>{$n.title}</td>
                <td>{$n.catname}</td>
                <td>{$n.click}</td>
                <td>
                    <a href="{|U('editarc','aid='.$n['aid'])}">编辑</a> |
                    <a class='delarc_one' href="javascript:;" aid={$n.aid}>删除</a> |
                    <a href="{|U('preview','aid='.$n['aid'])}">预览</a>
                </td>
            </tr>
        </list>
        </tbody>
    </table>
    <div class="cancelall fl">
        <a href="javascript:;">反选</a>
        <a href="javascript:;" class='delarc_all'">删除</a>
    </div>
    <div class='page fl'>{$page}</div>
    <div class='clear'></div>
</body>
</html>